package com.gree.manager.service.impl;

import com.gree.manager.entity.Brand;
import com.gree.manager.mapper.BrandMapper;
import com.gree.manager.service.BrandService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BrandServiceImpl implements BrandService {

    @Autowired
    private BrandMapper brandMapper;
    /**
     * 查询所有品牌
     * @return
     */
    @Override
    public List<Brand> selectBrandList() {
        return brandMapper.selectAllBrand();
    }
}
